+2005-03-28 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtktreeview.c (gtk_tree_view_key_press): Don't pop up
+ the context menu of the search entry if it is not visible.
+ (#169534, Billy Biggs)
+
2005-03-27 Tor Lillqvist <tml@novell.com>
* configure.in: Apparently AC_LIBTOOL_WIN32_DLL isn't deprecated
+2005-03-28 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtktreeview.c (gtk_tree_view_key_press): Don't pop up
+ the context menu of the search entry if it is not visible.
+ (#169534, Billy Biggs)
+
2005-03-27 Tor Lillqvist <tml@novell.com>
* configure.in: Apparently AC_LIBTOOL_WIN32_DLL isn't deprecated
+2005-03-28 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtktreeview.c (gtk_tree_view_key_press): Don't pop up
+ the context menu of the search entry if it is not visible.
+ (#169534, Billy Biggs)
+
2005-03-27 Tor Lillqvist <tml@novell.com>
* configure.in: Apparently AC_LIBTOOL_WIN32_DLL isn't deprecated
gboolean retval;
GdkScreen *screen;
gboolean text_modified;
+ gulong popup_menu_id;
gtk_tree_view_ensure_interactive_directory (tree_view);
((GdkEventKey *) new_event)->window = tree_view->priv->search_entry->window;
gtk_widget_realize (tree_view->priv->search_window);
+ popup_menu_id = g_signal_connect (tree_view->priv->search_entry,
+ "popup_menu", G_CALLBACK (gtk_true), NULL);
+
/* Move the entry off screen */
screen = gtk_widget_get_screen (GTK_WIDGET (tree_view));
gtk_window_move (GTK_WINDOW (tree_view->priv->search_window),
retval = gtk_widget_event (tree_view->priv->search_entry, new_event);
gtk_widget_hide (tree_view->priv->search_window);
+ g_signal_handler_disconnect (tree_view->priv->search_entry,
+ popup_menu_id);
+
/* We check to make sure that the entry tried to handle the text, and that
* the text has changed.
*/